Skip to content

Conversation

@fredshema
Copy link
Contributor

PR Description

This pr includes updates to the notification system to support in-app notifications on mobile.

Description of tasks that were expected to be completed

When a new notification is created in the database a request to show notifications on the app is sent. To make sure that requests to show push notifications are authenticated, we use a secret key generated on the expo dashboard.

How has this been tested?

On the mobile app, login and close the application, on the dashboard login as an admin and change that user team (an action that triggers a notification). On the mobile device you should receive a notification.

Note: Notifications only work on physical devices, simulators and emulators are not supported.

Screenshots (If appropriate)

N/A

@codecov-commenter
Copy link

codecov-commenter commented Nov 11, 2024

Codecov Report

Attention: Patch coverage is 14.81481% with 23 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@39437f1). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/resolvers/userResolver.ts 14.81% 23 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop     #419   +/-   ##
==========================================
  Coverage           ?   31.05%           
==========================================
  Files              ?       87           
  Lines              ?     4247           
  Branches           ?     1242           
==========================================
  Hits               ?     1319           
  Misses             ?     2897           
  Partials           ?       31           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fredshema fredshema force-pushed the feat-mobile-push-notification branch from 3ec0e1d to 69c5ece Compare November 26, 2024 13:45
@ceelogre ceelogre temporarily deployed to feat-mobile-push-notification - devpulse-backend PR #419 November 26, 2024 13:45 — with Render Destroyed
@MugemaneBertin2001 MugemaneBertin2001 merged commit 19feede into develop Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants